package org.hobbyhorse.ranks.client.place;

import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;

public class WelcomePlace extends Place {
	private String welcomeName;

	public WelcomePlace(String token) {
		this.welcomeName = token;
	}

	public String getWelcomeName() {
		return welcomeName;
	}
	public static class Tokenizer implements PlaceTokenizer<WelcomePlace>{

		@Override
		public WelcomePlace getPlace(String token) {
			return new WelcomePlace(token);
		}

		@Override
		public String getToken(WelcomePlace place) {
			return place.getWelcomeName();
		}
		
	}

}